package min.chapter.three;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class ContextAwareAcquisition {
	public static void main(String[] args) {
		ApplicationContext context = new FileSystemXmlApplicationContext("src/min/chapter/four/ContextAware.xml");
		ContextAware lifeBean = (ContextAware) context.getBean("lifeBean");
		lifeBean.lifeMessage();			
	}
}
